﻿using System.Xml.Serialization;
using EscapeZone.Mapping;
using Microsoft.Xna.Framework;

namespace EscapeZone.Serialization
{
    [XmlType("Camera")]
    public class CameraDefinition : IDefinition
    {
        [XmlElement("Position")]
        public Vector2 Position { get; set; }

        [XmlElement("Orientation")]
        public float Orientation { get; set; } // rads

        [XmlIgnore]
        public ElementType Type
        {
            get { return ElementType.Camera; }
        }
    }
}